package online.yysh.charging.livedata;

import androidx.lifecycle.MutableLiveData;

/**
 * 電站地址
 */
public class AddressManager {
    private static AddressManager instance;

    public static AddressManager getInstance() {
        if (instance == null) {
            synchronized (AddressManager.class) {
                if (instance == null) {
                    instance = new AddressManager();
                }
            }
        }
        return instance;
    }

    private MutableLiveData<String> liveData;

    private AddressManager() {
        liveData = new MutableLiveData<>();
    }

    public MutableLiveData<String> getLiveData(){
        return liveData;
    }
}
